#!/usr/bin/python
print "Content-Type: text/html\n"
import cgi
import cgitb
cgitb.enable()
import os
form = cgi.FieldStorage()
n = 20

if "n" in form: n = form["n"].value



print "<html>"
print "<head><title>n Quadratzahlen"
print "</title></head>"
print "<body>"
for e in range(1,int(n)+1):
	print str(e*e)+'</br>'
print "</body></html>"
